package com.example.excel;

import com.deepoove.poi.data.RenderData;

/**
 * 特殊符号渲染数据
 * 
 * @author liuyake
 *
 * 2018-11-15
 */
public class SymbolRenderData implements RenderData {
	protected static final String schemaPrefix = "<xml-fragment "
			+ " xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\" xmlns:wne=\"http://schemas.microsoft.com/office/word/2006/wordml\" ";
	//单选框没选中
	public static final String RADIO = schemaPrefix + " w:font=\"Wingdings 2\" w:char=\"F099\"/>";
	//单选框选中
	public static final String CHECKED_RADIO = schemaPrefix + " w:font=\"Wingdings 2\" w:char=\"F09E\"/>";
	//复选框没选中
	public static final String CHECKBOX = schemaPrefix + " w:font=\"Wingdings 2\" w:char=\"F0A3\"/>";
	//复选框选中
	public static final String CHECKED_CHECKBOX = schemaPrefix + " w:font=\"Wingdings 2\" w:char=\"F052\"/>";
	
	//文本内容
	protected String text;
	
	public SymbolRenderData(String text) {
		this.text = text;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}
	
}
